﻿#pragma once

#include "../../../StdAfx.h"
#include"../../../QuantyView3DView.h"
#include "resource2.h"
// ZKYPJLIN 对话框

class ZKYPJLIN : public CDialogEx
{
	DECLARE_DYNAMIC(ZKYPJLIN)

public:
	ZKYPJLIN(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~ZKYPJLIN();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_ZKYPJL };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	User_ST user;
	CQuantyView3DView* view;
	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	CListCtrl ZKYPJLLIST;
	afx_msg void OnBnClickedZktpjlAdd();
	CComboBox m_zkypjlktqbh;
	CComboBox m_zkypjl_zkbh;
	afx_msg void OnCbnSelchangeComboZkypjlktqbh();
	afx_msg void OnCbnSelchangeComboZkypjlzkbh();

	void setView(CQuantyView3DView* view__)
	{
		view = view__;
		user = view->getUser();
	}
	afx_msg void OnBnClickedZkypjlAdd();
};

